Hi Shaileshal, That error occurs because you have not defined which axis channels in the system are to be used. By default KFLOP assumes a 4 axis system. KMotionCNC is detecting a 4th axis as disabled. Define an X,Y,Z coordinate system with a C Statement: DefineCoordSystem(0,1,2,-1); The normal process is to configure and test all axes in KMotion.exe first. Then create a C Initialization Program that will configure all your axes, enable all your axes, and define the Coordinate System, before running KMotionCNC. This process is the same whether intending to use Mach3 or KMotionCNC. See step 4 here: http://dynomotion.com/Help/Mach3Plugin/Mach3.htm You didn't need to enable the Virtual Com Port Drivers, KMotion doesn't use them, but it shouldn't
matter. Regards TK
Group: DynoMotion |
Message: 12428 |
From: rustychrome |
Date: 10/23/2015 |
Subject: Re: Problem configuring KFlop - Axis Disabled Error |
I am also working on getting the system ready.
All was well - jog works in KmotionCNC Ran the sample programs and all was well. Ran Sample 5 (CMD,EnableAxis0) (CMD,EnableAxis1) (CMD,EnableAxis2) (CMD,EnableAxis3) (CMD,EnableAxis4) (CMD,EnableAxis5) (CMD,EnableAxis6) (CMD,EnableAxis7) (CMD,DefineCSEx = 0 1 2 3 4 5 6 7) m0 (CMD,Move0=0) (CMD,Move1=0) (CMD,Move2=0) (CMD,Move3=0) (CMD,Move4=0) (CMD,Move5=0) (CMD,Move6=0) (CMD,Move7=0) m0 (CMD,OpenBuf) (CMD,LinearHexEx 0 0 0 0 0 0 0 0 3f800000 3f800000 3f800000 3f800000 3f800000 3f800000 3f800000 3f800000 0 0 3f800000 0 3f800000) (CMD,LinearEx 1 1 1 1 1 1 1 1 20 21 22 23 24 25 26 27 0 0 1 0 1) (MD,Linear 20 21 22 23 24 25 0 0 0 0 0 0 0 0 1 0 1) (CMD,ExecBuf) M2
And started getting the axis disabled error.
If I run sample 5 up to m0 - I can then switch to other programs and they work (say program 1)
If I stop and restart program 1 - I get the axis disabled error again until I run program 5 above to the m0 then switch back.
I don't know the details of (CMD,EnableAxis???) so I don't know how to get around this.
I cycled the power on the Kflop and all is back to working again.
I might have figured out where to go read for the solution by the time you reply but a quick few words as to what happened might be good.
Thanks Richard
|
|
Group: DynoMotion |
Message: 12429 |
From: rustychrome |
Date: 10/23/2015 |
Subject: Re: Problem configuring KFlop - Axis Disabled Error |
When hovering over the stop button, I noticed that it disables all axes. I re-ran the init and program restarted without axis error.
I must have hit stop at some point to create the initial situation that led me down this path.
esc key leads to same axis disabled error as well.
Hack and learn :)
Cheers
|
|
| |